import request from '@/utils/request'

export const getCollectList = (data) => {
  return request({
    url: '/api/collection/list',
    method: 'Post',
    data
  })
}
export const getCollectAssign = (data) => {
    return request({
      url: '/api/collection/assign',
      method: 'Post',
      data
    })
  }
  export const getassignlogs = (Id) => {
    return request({
      url: `/api/collection/assign/logs/${Id}`,
      method: 'Get'
    })
  }
export const getCollectDetail = (collectId) => {
  return request({
    url: `/api/collection/detail/${collectId}`,
    method: 'Get'
  })
}

export const getcollectionlogs = (Id) => {
  return request({
    url: `/api/collection/logs/${Id}`,
    method: 'Get'
  })
}
export const addcollectionlogs = (data) => {
  return request({
    url: '/api/collection/log/add',
    method: 'Post',
    data
  })
}